package com.phrp.dao;

import com.phrp.entity.House;
import com.phrp.entity.vo.HouseSearchDataVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.LinkedList;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ssc
 * @since 2024-04-20
 */
@Mapper
public interface HouseDao extends BaseMapper<House> {

    int updateBatchByIds(String[] ids, String type);

    LinkedList<House> selectSearchPage(HouseSearchDataVo searchData);

    Integer selectTotalCount(HouseSearchDataVo searchData);

    LinkedList<House> selectInspectionHouseData(HouseSearchDataVo houseSearch);

    Integer getInspectionTotalNum(HouseSearchDataVo houseSearch);
}
